dnd: Stop doing cancel animation in GTK+
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 Dec 2015 20:08:27 +0000 (15:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 13 Dec 2015 21:02:02 +0000 (16:02 -0500)
commit95f648147ddd0022aef57baa91733bd0527cd4f2
tree7bd01c44ce6266b01ae7e7e778b2319a9e2b98a3
parent23b2b49321c1b757ba8a9cd77ad121ce789bd8ea
dnd: Stop doing cancel animation in GTK+

Under Wayland, the compositor does it, so there is no need
for us to move the window ourselves. For X11, we are now
doing the animation from the X11 backend. Trigger that by
calling gdk_drag_drop_done().

What changes here is that we have to keep the icon_window
alive for as long as the drag context exists. Use a weak
reference to do so.
gtk/gtkdnd.c